Branchwell

PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Sparkle / Explosions / Stahlregen + Amandio C - Rototranslate difference layers 2 + on dotes3 - flacc(2).milk

1MILKDROP_PRESET_VERSION=201
2PSVERSION=3
3PSVERSION_WARP=2
4PSVERSION_COMP=3
5[preset00]
6fGammaAdj=2.000
7fDecay=0.980
8fVideoEchoZoom=2.000
9fVideoEchoAlpha=0.000
10nVideoEchoOrientation=0
11nWaveMode=0
12bAdditiveWaves=0
13bWaveDots=0
14bWaveThick=0
15bModWaveAlphaByVolume=0
16bMaximizeWaveColor=1
17bTexWrap=0
18bDarkenCenter=0
19bRedBlueStereo=0
20bBrighten=0
21bDarken=0
22bSolarize=0
23bInvert=0
24fWaveAlpha=0.001
25fWaveScale=1.000
26fWaveSmoothing=0.750
27fWaveParam=0.000
28fModWaveAlphaStart=0.750
29fModWaveAlphaEnd=0.950
30fWarpAnimSpeed=5.278
31fWarpScale=0.010
32fZoomExponent=1.47412
33fShader=0.000
34zoom=1.03030
35rot=0.00000
36cx=0.500
37cy=0.500
38dx=0.00000
39dy=0.00000
40warp=0.01000
41sx=1.00000
42sy=1.00000
43wave_r=1.000
44wave_g=1.000
45wave_b=1.000
46wave_x=0.500
47wave_y=0.500
48ob_size=0.005
49ob_r=0.000
50ob_g=0.000
51ob_b=0.000
52ob_a=1.000
53ib_size=0.010
54ib_r=0.250
55ib_g=0.250
56ib_b=0.250
57ib_a=0.000
58nMotionVectorsX=12.000
59nMotionVectorsY=9.000
60mv_dx=0.000
61mv_dy=0.000
62mv_l=0.900
63mv_r=1.000
64mv_g=1.000
65mv_b=1.000
66mv_a=0.000
67b1n=0.000
68b2n=0.000
69b3n=0.000
70b1x=1.000
71b2x=1.000
72b3x=1.000
73b1ed=0.250
74wavecode_0_enabled=0
75wavecode_0_samples=512
76wavecode_0_sep=0
77wavecode_0_bSpectrum=0
78wavecode_0_bUseDots=0
79wavecode_0_bDrawThick=0
80wavecode_0_bAdditive=0
81wavecode_0_scaling=1.00000
82wavecode_0_smoothing=0.50000
83wavecode_0_r=1.000
84wavecode_0_g=1.000
85wavecode_0_b=1.000
86wavecode_0_a=1.000
87wavecode_1_enabled=0
88wavecode_1_samples=512
89wavecode_1_sep=0
90wavecode_1_bSpectrum=0
91wavecode_1_bUseDots=0
92wavecode_1_bDrawThick=0
93wavecode_1_bAdditive=0
94wavecode_1_scaling=1.00000
95wavecode_1_smoothing=0.50000
96wavecode_1_r=1.000
97wavecode_1_g=1.000
98wavecode_1_b=1.000
99wavecode_1_a=1.000
100wavecode_2_enabled=0
101wavecode_2_samples=512
102wavecode_2_sep=0
103wavecode_2_bSpectrum=0
104wavecode_2_bUseDots=0
105wavecode_2_bDrawThick=0
106wavecode_2_bAdditive=0
107wavecode_2_scaling=1.00000
108wavecode_2_smoothing=0.50000
109wavecode_2_r=1.000
110wavecode_2_g=1.000
111wavecode_2_b=1.000
112wavecode_2_a=1.000
113wavecode_3_enabled=0
114wavecode_3_samples=512
115wavecode_3_sep=0
116wavecode_3_bSpectrum=0
117wavecode_3_bUseDots=0
118wavecode_3_bDrawThick=0
119wavecode_3_bAdditive=0
120wavecode_3_scaling=1.00000
121wavecode_3_smoothing=0.50000
122wavecode_3_r=1.000
123wavecode_3_g=1.000
124wavecode_3_b=1.000
125wavecode_3_a=1.000
126shapecode_0_enabled=1
127shapecode_0_sides=32
128shapecode_0_additive=1
129shapecode_0_thickOutline=1
130shapecode_0_textured=0
131shapecode_0_num_inst=33
132shapecode_0_x=0.500
133shapecode_0_y=0.500
134shapecode_0_rad=0.10000
135shapecode_0_ang=0.00000
136shapecode_0_tex_ang=0.00000
137shapecode_0_tex_zoom=1.00000
138shapecode_0_r=0.000
139shapecode_0_g=0.500
140shapecode_0_b=0.000
141shapecode_0_a=1.000
142shapecode_0_r2=0.000
143shapecode_0_g2=0.500
144shapecode_0_b2=0.000
145shapecode_0_a2=0.000
146shapecode_0_border_r=1.000
147shapecode_0_border_g=1.000
148shapecode_0_border_b=1.000
149shapecode_0_border_a=0.000
150shape_0_per_frame1=trans = rand(int(q30))/5+instance-instance;
151shape_0_per_frame2=trans2 = rand(int(q30))/5+instance-instance;
152shape_0_per_frame3=trans3 = rand(int(q30))/5+instance-instance;
153shape_0_per_frame4=a = trans;
154shape_0_per_frame5=
155shape_0_per_frame6=x = q1 + rand(15)*0.01*bass_att*if(equal(rand(2),1),1,-1)+instance-instance;
156shape_0_per_frame7=y = q2 + rand(15)*0.01*bass_att*if(equal(rand(2),1),1,-1)+instance-instance;
157shape_0_per_frame8=rad = .09 + rand(int(q30))/15+instance-instance;
158shape_0_per_frame9=r=rand(q3)*.1+instance-instance;
159shape_0_per_frame10=g=rand(q3)*.1+instance-instance;
160shape_0_per_frame11=b=rand(q3)*.1+instance-instance;
161shape_0_per_frame12=r2=rand(q3)*.1+instance-instance;
162shape_0_per_frame13=g2=rand(q3)*.1+instance-instance;
163shape_0_per_frame14=b2=rand(q3)*.1+instance-instance;
164shape_0_per_frame15=border_r=rand(q3)*.1+instance-instance;
165shape_0_per_frame16=border_g=rand(q3)*.1+instance-instance;
166shape_0_per_frame17=border_b=rand(q3)*.1+instance-instance;
167shapecode_1_enabled=1
168shapecode_1_sides=32
169shapecode_1_additive=0
170shapecode_1_thickOutline=1
171shapecode_1_textured=1
172shapecode_1_num_inst=7
173shapecode_1_x=0.500
174shapecode_1_y=0.500
175shapecode_1_rad=0.10000
176shapecode_1_ang=0.00000
177shapecode_1_tex_ang=0.00000
178shapecode_1_tex_zoom=1.00000
179shapecode_1_r=0.000
180shapecode_1_g=0.000
181shapecode_1_b=0.500
182shapecode_1_a=1.000
183shapecode_1_r2=0.000
184shapecode_1_g2=0.000
185shapecode_1_b2=0.500
186shapecode_1_a2=0.000
187shapecode_1_border_r=1.000
188shapecode_1_border_g=1.000
189shapecode_1_border_b=1.000
190shapecode_1_border_a=0.000
191shape_1_per_frame1=trans = rand(int(q30))/5+instance-instance;
192shape_1_per_frame2=trans2 = rand(int(q30))/5+instance-instance;
193shape_1_per_frame3=trans3 = rand(int(q30))/5+instance-instance;
194shape_1_per_frame4=a = trans;
195shape_1_per_frame5=
196shape_1_per_frame6=x = q1 + rand(15)*0.01*mid_att*if(equal(rand(2),1),1,-1)+instance-instance;
197shape_1_per_frame7=y = q2 + rand(15)*0.01*mid_att*if(equal(rand(2),1),1,-1)+instance-instance;
198shape_1_per_frame8=rad = .09 + rand(int(q30))/15+instance-instance;
199shape_1_per_frame9=r=rand(q3)*.1+instance-instance;
200shape_1_per_frame10=g=rand(q3)*.1+instance-instance;
201shape_1_per_frame11=b=rand(q3)*.1+instance-instance;
202shape_1_per_frame12=r2=rand(q3)*.1+instance-instance;
203shape_1_per_frame13=g2=rand(q3)*.1+instance-instance;
204shape_1_per_frame14=b2=rand(q3)*.1+instance-instance;
205shape_1_per_frame15=border_r=rand(q3)*.1+instance-instance;
206shape_1_per_frame16=border_g=rand(q3)*.1+instance-instance;
207shape_1_per_frame17=border_b=rand(q3)*.1+instance-instance;
208shape_1_per_frame18=
209shapecode_2_enabled=1
210shapecode_2_sides=32
211shapecode_2_additive=0
212shapecode_2_thickOutline=1
213shapecode_2_textured=0
214shapecode_2_num_inst=33
215shapecode_2_x=0.500
216shapecode_2_y=0.500
217shapecode_2_rad=0.10000
218shapecode_2_ang=0.00000
219shapecode_2_tex_ang=0.00000
220shapecode_2_tex_zoom=1.00000
221shapecode_2_r=0.500
222shapecode_2_g=0.000
223shapecode_2_b=0.000
224shapecode_2_a=1.000
225shapecode_2_r2=0.500
226shapecode_2_g2=0.000
227shapecode_2_b2=0.000
228shapecode_2_a2=0.000
229shapecode_2_border_r=1.000
230shapecode_2_border_g=1.000
231shapecode_2_border_b=1.000
232shapecode_2_border_a=0.000
233shape_2_per_frame1=trans = rand(int(q30))/5+instance-instance;
234shape_2_per_frame2=trans2 = rand(int(q30))/5+instance-instance;
235shape_2_per_frame3=trans3 = rand(int(q30))/5+instance-instance;
236shape_2_per_frame4=a = trans;
237shape_2_per_frame5=
238shape_2_per_frame6=x = q1 + rand(15)*0.01*treb_att*if(equal(rand(2),1),1,-1)+instance-instance;
239shape_2_per_frame7=y = q2 + rand(15)*0.01*treb_att*if(equal(rand(2),1),1,-1)+instance-instance;
240shape_2_per_frame8=rad = .09 + rand(int(q30))/15+instance-instance;
241shape_2_per_frame9=r=rand(q3)*.1+instance-instance;
242shape_2_per_frame10=g=rand(q3)*.1+instance-instance;
243shape_2_per_frame11=b=rand(q3)*.1+instance-instance;
244shape_2_per_frame12=r2=rand(q3)*.1+instance-instance;
245shape_2_per_frame13=g2=rand(q3)*.1+instance-instance;
246shape_2_per_frame14=b2=rand(q3)*.1+instance-instance;
247shape_2_per_frame15=border_r=rand(q3)*.1+instance-instance;
248shape_2_per_frame16=border_g=rand(q3)*.1+instance-instance;
249shape_2_per_frame17=border_b=rand(q3)*.1+instance-instance;
250shape_2_per_frame18=
251shapecode_3_enabled=0
252shapecode_3_sides=4
253shapecode_3_additive=0
254shapecode_3_thickOutline=0
255shapecode_3_textured=0
256shapecode_3_num_inst=1
257shapecode_3_x=0.500
258shapecode_3_y=0.500
259shapecode_3_rad=0.10000
260shapecode_3_ang=0.00000
261shapecode_3_tex_ang=0.00000
262shapecode_3_tex_zoom=1.00000
263shapecode_3_r=1.000
264shapecode_3_g=0.000
265shapecode_3_b=0.000
266shapecode_3_a=1.000
267shapecode_3_r2=0.000
268shapecode_3_g2=1.000
269shapecode_3_b2=0.000
270shapecode_3_a2=0.000
271shapecode_3_border_r=1.000
272shapecode_3_border_g=1.000
273shapecode_3_border_b=1.000
274shapecode_3_border_a=0.100
275per_frame_1=//martin no religion / my omniversal absence for changing the background light
276per_frame_2=vb = vb*0.95 + (1-vb)*pow(abs(bass-bass_att),2)*0.02;
277per_frame_3=vvb = vvb*0.95 + (1-vvb)*vb*0.01;
278per_frame_4=vm = vm*0.95 + (1-vm)*pow(abs(mid-mid_att),2)*0.02;
279per_frame_5=vvm = vvm*0.95 + (1-vvm)*vm*0.01;
280per_frame_6=vt = vt*0.95 + (1-vt)*pow(abs(treb-treb_att),2)*0.02;
281per_frame_7=vvt = vvt*0.95 + (1-vvt)*vt*0.01;
282per_frame_8=vvb = min(1,max(0,vvb));
283per_frame_9=vvm = min(1,max(0,vvm));
284per_frame_10=vvt = min(1,max(0,vvt));
285per_frame_11=runbass=runbass+vvb;
286per_frame_12=runmids=runmids+vvm ;
287per_frame_13=runtreb=runtreb+vvt;
288per_frame_14=pi23=4*asin(-1)*.33333333333333;
289per_frame_15=atime=(runtreb+runmids+runbass)*1.85;
290per_frame_16=q8= (sin(atime-0*pi23)+1)*.4;
291per_frame_17=q9= (sin(atime-1*pi23)+1)*.4;
292per_frame_18=q10=(sin(atime-2*pi23)+1)*.4;
293per_frame_19=
294per_frame_20=vb = vb*0.95 + (1-vb)*pow(abs(bass-bass_att),2)*0.02;
295per_frame_21=vvb = vvb*0.95 + (1-vvb)*vb*0.01;
296per_frame_22=vm = vm*0.95 + (1-vm)*pow(abs(mid-mid_att),2)*0.02;
297per_frame_23=vvm = vvm*0.95 + (1-vvm)*vm*0.01;
298per_frame_24=vt = vt*0.95 + (1-vt)*pow(abs(treb-treb_att),2)*0.02;
299per_frame_25=vvt = vvt*0.95 + (1-vvt)*vt*0.01;
300per_frame_26=vvb = min(1,max(0,vvb));
301per_frame_27=vvm = min(1,max(0,vvm));
302per_frame_28=vvt = min(1,max(0,vvt));
303per_frame_29=q1 = (vvt+vvm+vvb)*10;
304per_frame_30=q2 = (vvt+vvm+vvb)*10;
305per_frame_31=q3 = (vvt+vvm+vvb)*10;
306per_frame_32=q4 =(vvt+vvm+vvb)*10;
307per_frame_33=q5 =(vvt+vvm+vvb)*10;
308per_frame_34=q6 =(vvt+vvm+vvb)*10;
309per_frame_35=q4 =(vvt+vvm+vvb)*10;
310per_frame_36=q5 =(vvt+vvm+vvb)*10;
311per_frame_37=q6 =(vvt+vvm+vvb)*10;
312per_frame_38=q7 =(vvt+vvm+vvb)*10;
313per_frame_39=q11=(vvt+vvm+vvb)*10;
314per_frame_40=q12=(vvt+vvm+vvb)*10;
315per_frame_41=q13=(vvt+vvm+vvb)*10;
316per_frame_42=q14=(vvt+vvm+vvb)*10;
317per_frame_43=q15=(vvt+vvm+vvb)*10;
318per_frame_44=q16=(vvt+vvm+vvb)*10;
319per_frame_45=q17=(vvt+vvm+vvb)*10;
320per_frame_46=q18=(vvt+vvm+vvb)*10;
321per_frame_47=q19=(vvt+vvm+vvb)*10;
322per_frame_48=q20=(vvt+vvm+vvb)*10;
323per_frame_49=q21=(vvt+vvm+vvb)*10;
324per_frame_50=q22=(vvt+vvm+vvb)*10;
325per_frame_51=q23=(vvt+vvm+vvb)*10;
326per_frame_52=q24=(vvt+vvm+vvb)*10;
327per_frame_53=q25=(vvt+vvm+vvb)*10;
328per_frame_54=q26=(vvt+vvm+vvb)*10;
329per_frame_55=q27=(vvt+vvm+vvb)*10;
330per_frame_56=q28=(vvt+vvm+vvb)*10;
331per_frame_57=q29=(vvt+vvm+vvb)*10;
332per_frame_58=q30=(vvt+vvm+vvb)*10;
333per_frame_59=q31=(vvt+vvm+vvb)*3;
334per_frame_60=q32=(vvt+vvm+vvb)*3;
335per_frame_61=
336per_frame_62=count = if(below(count,9),count+1,0);
337per_frame_63=
338per_frame_64=q1 = 0.5;
339per_frame_65=q2 = 0.5;
340per_frame_66=q3 = count;
341per_frame_67=
342per_frame_68=zoom = 1 + 0.065*bass_att+0.05*bass;
343per_frame_69=monitor=q3;
344per_frame_70=q30=bass+mid+treb;
345per_frame_71=q3=q30*2;
346warp_1=`shader_body
347warp_2=`{
348warp_3=`float2 pixelsize = texsize.zw;
349warp_4=`float2 uvm = uv;
350warp_5=`
351warp_6=`float2 noise_uv = uv*texsize.xy*texsize_noise_lq.zw + rand_frame.xy;
352warp_7=`float4 noiseVal = tex2D(sampler_noise_lq, noise_uv);
353warp_8=`
354warp_9=`ret.xyz = saturate(tex2D( sampler_main,uvm).xyz*float3(1,1,1) - float3(.0,.0,.0));
355warp_10=`ret.xyz = tex2D( sampler_main,uvm).xyz;
356warp_11=`
357warp_12=`
358warp_13=`float3 rsamp = tex2D(sampler_main,uvm + (noiseVal.xy-.5)*12*pixelsize).xyz;
359warp_14=`if (length(ret.xy - uvm) > length(rsamp.xy - uvm)) {
360warp_15=`ret.xy = rsamp.xy;
361warp_16=`}
362warp_17=`
363warp_18=`rsamp = tex2D(sampler_main,uvm + (noiseVal.zw-.5)*48*pixelsize).xyz;
364warp_19=`if (length(ret.xy - uvm) > length(rsamp.xy - uvm)) {
365warp_20=`ret.xy = rsamp.xy;
366warp_21=`}
367warp_22=`
368warp_23=`ret.z = tex2D(sampler_main,ret.xy).z;
369warp_24=`
370warp_25=`ret.z -= q1*.005;
371warp_26=`
372warp_27=`
373warp_28=`}
374comp_1=`shader_body
375comp_2=`{
376comp_3=`
377comp_4=`//As a base, sample the main sampler at normal uv coordinates and store as return value:
378comp_5=`ret = tex2D(sampler_main, uv).xyz;
379comp_6=`
380comp_7=`//Define the translation in (x,y)-direction and multiply by texsize.zw to convert the length to pixels:
381comp_8=`float2 shift = float2(0,0)*texsize.zw;
382comp_9=`
383comp_10=`//Take the original uv coordinates as a starting point, store in second set of coordinates:
384comp_11=`float2 uv2 = uv;
385comp_12=`
386comp_13=`//Start iterations...
387comp_14=`int n = 1;
388comp_15=`while (n<=10) {
389comp_16=`
390comp_17=`//First step: put origin in center;
391comp_18=`uv2 = uv2-.5;
392comp_19=`
393comp_20=`//Next, rotate by a factor we set in the per-frame equations - q32 is cos(angle) and q31 is sin(angle):
394comp_21=`uv2 = float2((uv2.x)*q32 - (uv2.y) * q31,(uv2.x)* q31 + (uv2.y) * q32)+.5;
395comp_22=`
396comp_23=`//Then, shift uv coordinates n times - see the step after the next as to why:
397comp_24=`uv2 += n*shift;
398comp_25=`
399comp_26=`//Sample the main sampler at our new uv2 coordinates,
400comp_27=`//deduct the result from the current return value,
401comp_28=`//store in ret as absolute (difference) value:
402comp_29=`ret = abs(ret-GetPixel(uv2));
403comp_30=`
404comp_31=`//Remove the shift so we won't rotate it with our coordinates in the next iteration:
405comp_32=`uv2 -= n*shift;
406comp_33=`
407comp_34=`//Iteration +1
408comp_35=`n++;
409comp_36=`}
410comp_37=`
411comp_38=`}
412fRating=5.000000